import type { VNode } from 'vue';
import type { TooltipProps } from '../Tooltip/types';
export interface DropdownProps extends TooltipProps {
    menuOptions: MenuOption[];
}
export interface MenuOption{
    label: string | VNode;
    key: string | number;
    disabled?: boolean;
    divided?: boolean;
}

export interface DropdownEmits {
    (e:'visible-change',value:boolean):void;
    (e:'select',value:MenuOption):void;
}

export interface DropdownInstance {
    show:()=>void;
    hide:()=>void;
}